package com.rentplant.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.rentplant.Pojo.admin;
import com.rentplant.mapper.adminMapper;
import com.rentplant.service.adminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Service
public class adminServiceImp implements adminService {
    @Autowired
    private adminMapper adminmapper;

    //    管理员登录
    @Override
    public List<admin> login(String username){
        return adminmapper.login(username);
    }
}
